package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.content.pojo.param.ArticleActionParam;
import com.tarena.lbs.content.pojo.param.ArticleContentParam;
import com.tarena.lbs.content.pojo.vo.ArticleVO;

/**
 * 文章业务模块接口
 */
public interface ArticleService {
	
	// 保存文章到ES
	void saveArticleToEs(ArticleContentParam param) throws BusinessException;
	
	// 根据ID查询文章详情
	ArticleVO getArticleDetailById(String id) throws BusinessException;
	
	// 记录用户行为
	void articleAction(ArticleActionParam param) throws BusinessException;
	
}
